﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPSystem.Common.Domains.Delivergoods
{
    /// <summary>
    /// 物料发货表
    /// </summary>
    [SugarTable("Materialdelivery")]
    public class Materialdelivery
    {
        /// <summary>
        /// 主键编号
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int MaterialdeliveryId { get; set; }
        /// <summary>
        /// 单据编码
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDataType = "Nvarchar(50)")]
        public string DocumentNumber { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDataType = "Nvarchar(50)")]
        public string ItemBianma { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDataType = "Nvarchar(50)")]
        public string MaterialName { get; set; }
        
        /// <summary>
        /// 数量
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string Quantity { get; set; }
        /// <summary>
        /// 件数
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public int Numberpack { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)", IsNullable = true)]
        public string ShippingnoteRemark { get; set; }

        /// <summary>
        /// 流水号 外键
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDataType = "Nvarchar(50)")]
        public string Serialnumber { get; set; }


    }
}
